package com.ruoyi.common.entity.DTO;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ProductImportDTO {
    @Excel(name = "商品名称(必填)")
    private String productName;
    @Excel(name = "大类(必填)")
    private String firstCategoryName;
    @Excel(name = "子类")
    private String secondCategoryName;
//    @Excel(name = "三级类")
//    private String thirdCategoryName;
    //8有规格（拆分N个单元格，规格名称），无规格（“无”）
    @Excel(name = "规格SKU(必填)")
    private String skuString;
    @Excel(name = "购买单位")
    private String buyUnit;
    @Excel(name = "备注")
    private String appendRemark;
    @Excel(name = "商品条码(必填)")
    private String productSn;
    //9有规格（拆分N个单元格，SKU成本价），无规格（“商品成本价”）
    @Excel(name = "成本价(必填)")
    private BigDecimal buyPrice;
    //11有规格（拆分N个单元格，SKU销售价格），无规格（“商品销售价格”）
    @Excel(name = "销售价(必填)")
    private BigDecimal price;
    //11有规格（拆分N个单元格，SKU库存），无规格（“商品库存”）
    @Excel(name = "库存(必填)",defaultValue="0")
    private Integer stock;
    //11有规格（拆分N个单元格，SKU重量），无规格（“商品重量”）
    @Excel(name = "重量(g)",defaultValue="0")
    private Double weight;
    @Excel(name = "排序",defaultValue="0")
    private Integer orderNum;
//    @Excel(name = "主图")
//    private String coverUrl;
//    @Excel(name = "细节图1")
//    private String bannerUrl1;
//    @Excel(name = "细节图2")
//    private String bannerUrl2;
//    @Excel(name = "细节图3")
//    private String bannerUrl3;
//    @Excel(name = "商品说明")
//    private String memo;
}
